package com.cw.mapper2;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cw.entity.ApplicationBed;
import com.cw.entity.BedUggIeCWInfo;
import com.cw.request.BedAppicationDownLoad;
import org.springframework.stereotype.Repository;

import java.math.BigDecimal;
import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author ly
 * @since 2021-12-13
 */
@Repository
public interface ApplicationBedMapper extends BaseMapper<ApplicationBed> {

    List<ApplicationBed> getInquire(ApplicationBed entity);

    void addPopup(ApplicationBed entity);

    void UpdateApplication(ApplicationBed entity);

    void UpdateBatchApplicationStatus(List<BigDecimal> lstPreid, String isNotice, String isHandle);

    List<BedUggIeCWInfo> getBedReservationQuery(ApplicationBed entity);

    void Deleteinformation(List<BigDecimal> ids);


    void deleteByPreid(List<String> Listpreid);

    List<ApplicationBed> getBedapplication(BedAppicationDownLoad requestInfo);

}
